package cn.topevery.garden.dal.dao;

import cn.topevery.garden.entity.po.Approval;
import cn.topevery.garden.entity.query.ApprovalQuery;
import cn.topevery.garden.entity.vo.ApprovalVO;
import cn.topevery.garden.framework.base.BaseDao;
import hw.topevery.framework.db.entity.DataPager;

/**
 * 批后监管数据
 *
 * @author code-generate
 * @date 2022-02-16
 */
public interface ApprovalDao extends BaseDao<Approval> {

    

    /**
     * 获取列表
     *
     * @param query
     */
    DataPager<ApprovalVO> listPage(ApprovalQuery query);

    Approval getEntityByColumn(String key, String value);

    void deleteBatchById(String userId, Integer[] ids);
}
